/* Reset some default browser styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* General body styles */
body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: #f4f4f4;
    color: #333;
}

/* Breadcrumb styles */
.breadcrumb {
    background-color: #e9ecef;
    padding: 10px 20px;
    list-style: none;
    display: flex;
    gap: 5px;
    margin-bottom: 20px;
}

.breadcrumb li {
    display: inline;
}

.breadcrumb a {
    text-decoration: none;
    color: #007bff;
    font-weight: bold;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

/* Main section styles */
main {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

/* Contact form styles */
.contact-form {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 20px;
    text-align: center;
}

.contact-form h1 {
    margin-bottom: 20px;
    font-size: 2em;
    color: #333;
}

.contact-form label {
    display: block;
    margin: 10px 0 5px;
    font-weight: bold;
    color: #555;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #000000;
    border-radius: 4px;
    font-size: 1em;
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
}

.contact-form input.visible,
.contact-form textarea.visible {
    opacity: 1;
    visibility: visible;
}

.contact-form button {
    background-color: #007bff;
    color: #fff;
    border: none;
    padding: 10px 20px;
    font-size: 1em;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;


}

.contact-form button:hover {
    background-color: #0056b3;
}

.contact-form button.invalid {
    animation: shake 0.4s ease;
}

@keyframes shake {
    0% { transform: translateX(0); }
    25% { transform: translateX(-10px); }
    50% { transform: translateX(10px); }
    75% { transform: translateX(-10px); }
    100% { transform: translateX(0); }
}

hr.dashed {
    border: 0;
    border-top: 1px dashed #ddd;
    margin: 20px auto;
    width: 80%;
}

/* Footer styles */
footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 10px 0;
    position: absolute;
    width: 100%;
    bottom: 0;
}

footer p {
    margin: 0;
}

/* Breadcrumb styles */
.breadcrumb {
    background-color: #e9ecef;
    padding: 10px 20px;
    list-style: none;
    display: flex;
    gap: 5px;
    margin-bottom: 20px;
}

.breadcrumb li {
    display: inline;
}

.breadcrumb a {
    text-decoration: none;
    color: #007bff;
    font-weight: bold;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

/* nav bar */
ul.breadcrumb {
  padding: 3px 16px;
  list-style: none;
  background-color: #eee;
}

ul.breadcrumb li {display: inline;}

ul.breadcrumb li+li:before {
  padding: 8px;
  color: black;
  content: "/\00a0";
}

ul.breadcrumb li a {color: rgb(0, 0, 0);}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}